import axios from "../axios"
export default{
    deleteAdmins({adminsId}){
        return axios({
            url:'/admins/deleteAdmins',
            method:'post',
            data:{
                adminsId
            }
        })
    },
    updateAdmins({adminsData}){
        return axios({
            url:'/admins/updateAdmins',
            method:'post',
            data:{
                adminsData   
            }
        })
    },
    getAdminsById({_id}){
        return axios({
            url:'/admins/getAdminsById',
            method:'post',
            data:{
                _id
            }
        })
    },
}